package com.rdc.dictionary.bean;

import android.widget.ImageButton;
import android.widget.TextView;

import com.rdc.dictionary.search.SearchPresenter;

import org.litepal.crud.DataSupport;

import java.io.Serializable;

/**
 * @author Soul Mate
 * @file 文件名
 * @brief Word类存放Word内容
 *        在数据库中存放生词信息
 */

public class Word extends DataSupport implements Serializable
{

	//单词名
	private String word;

	//mp3
	private String EnglishVoice;
	private String AmericanVoice;
	//词义
	private String means;
	//音标
	private String E;
	private String A;

//	//是否添加为生词
//	private boolean isNew;


	public Word()
	{
		this.word = "";
		this.EnglishVoice = "";
		this.AmericanVoice = "";
		this.means = "";
//		this.isNew = false;
	}

	public Word(Word word)
	{
		this.word = word.getWord();
		EnglishVoice = word.getEnglishVoice();
		AmericanVoice = word.getAmericanVoice();
		this.means = word.getMeans();
		this.A = word.getA();
		this.E = word.getE();
	}


	public String getWord()
	{
		return word;
	}

	public void setWord(String word)
	{
		this.word = word;
	}

	public String getEnglishVoice()
	{
		return EnglishVoice;
	}

	public void setEnglishVoice(String englishVoice)
	{
		EnglishVoice = englishVoice;
	}

	public String getAmericanVoice()
	{
		return AmericanVoice;
	}

	public void setAmericanVoice(String americanVoice)
	{
		AmericanVoice = americanVoice;
	}

	public String getMeans()
	{
		return means;
	}

	public void setMeans(String means)
	{
		this.means = means;
	}

	public String getE()
	{
		return E;
	}

	public void setE(String e)
	{
		E = e;
	}

	public String getA()
	{
		return A;
	}

	public void setA(String a)
	{
		A = a;
	}


}
